package com.missilike.core.domain.im;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: pengpengli
 * \* Date: 18-12-13
 * \* Time: 下午11:13
 * \* Description:
 * \
 */
public class IMAccount {
    @JSONField(name = "Identifier")
    private String identifier;

    @JSONField(name = "Nick")
    private String nick;

    @JSONField(name = "FaceUrl")
    private String faceUrl;

    @JSONField(name = "Type")
    private int type;

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getFaceUrl() {
        return faceUrl;
    }

    public void setFaceUrl(String faceUrl) {
        this.faceUrl = faceUrl;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public IMAccount(String identifier) {
        this.identifier = identifier;
    }

    public IMAccount(String identifier, String nick, String faceUrl) {
        this.identifier = identifier;
        this.nick = nick;
        this.faceUrl = faceUrl;
    }

    public IMAccount(String identifier, String nick, String faceUrl, int type) {
        this.identifier = identifier;
        this.nick = nick;
        this.faceUrl = faceUrl;
        this.type = type;
    }
}
